.line-text {
  background-image: url('../../../../../../public/imgs/lineText.png');
  position: absolute;
  background-size: cover; /* 填充背景 */
  background-position: center;
  background-repeat: no-repeat;
}

.rectangle {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 150px;
  color: #121621;
  margin: auto;
  position: absolute;
}

.resize-handle-top,
.resize-handle-bottom {
  position: absolute;
  cursor: row-resize;
  width: 100%;
  border: 1px solid #2f54eb;
  display: none;
}

.resize-handle-top {
  top: 0;
}

.resize-handle-bottom {
  bottom: 0;
}

.resize-handle-left,
.resize-handle-right {
  position: absolute;
  height: 100%;
  cursor: col-resize;
  bottom: 0.1px;
  border: 1px solid #2f54eb;
  display: none;
}

.resize-handle-left {
  left: 0;
}

.resize-handle-right {
  right: 0;
}

.rectangle:hover .resize-handle-top {
  display: block;
}

.rectangle:hover .resize-handle-left {
  display: block;
}

.rectangle:hover .resize-handle-right {
  display: block;
}

.rectangle:hover .resize-handle-bottom {
  display: block;
}

.text-container {
  color: rgb(60, 60, 60);
  text-align: center;
  text-align-last: center;
  font-size: 18px;
  font-family: 黑体;
  line-height: 2;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0);
  padding: 0px;
  text-decoration: none;
  border-radius: 0px;
  animation-iteration-count: 1;
  animation-delay: 0s;
  letter-spacing: 0px;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  cursor: pointer;
}
